<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-click="cancel()">&times;</button>
    <h3>新增系统菜单信息</h3>
</div>
<div class="modal-body">
    <div class="row">
        <div class="col-md-12">
            <form class="form-horizontal" role="form">
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">上级模块：</label>
                    <span class="ui-select" style="width:120px;">
                        <select id="up_id" name="up_id" ng-model="entity.up_id" ng-options="opt.id as opt.name for opt in opts.menuOpts"></select>
                    </span>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">菜单名称：</label>
                    <div class="col-md-4"><input type="text" id="name" name="name" class="form-control" ng-model="entity.name"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">菜单URL：</label>
                    <div class="col-md-4"><input type="text" id="url" name="url" class="form-control" ng-model="entity.url"></div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">是否启用：</label>
                    <span class="ui-select" style="width:80px;">
                        <select id="status" name="status" ng-model="entity.status" ng-options="opt.k as opt.t for opt in opts.statusOpts"></select>
                    </span>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">是否导航栏显示：</label>
                    <span class="ui-select" style="width:80px;">
                        <select id="is_nav" name="is_nav" ng-model="entity.is_nav" ng-options="opt.k as opt.t for opt in opts.statusOpts"></select>
                    </span>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">权重：</label>
                    <div class="col-md-4">
                        <input type="text" id="priority" name="priority" class="form-control" ng-model="entity.priority"> <span>数字越大,排序越靠前</span>
                    </div>
                </div>
                <div class="divider divider-dashed divider-sm pull-in"></div>
                <div class="form-group">
                    <label for="cid" class="col-md-3 control-label">图片CSS：</label>
                    <div class="col-md-4">
                        <input type="text" id="icon" name="icon" class="form-control" ng-model="entity.icon"> <span>添加css样式</span>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="modal-footer">
    <span class="md-raised btn-w-xs md-primary md-button md-default-theme pull-right btn-box-margin" ng-click="submit()">
        <span class="ng-scope">提 交</span>
    </span>
    <span class="md-raised btn-w-xs md-button md-default-theme pull-right btn-box-margin" ng-click="cancel()">
        <span class="ng-scope">关 闭</span>
    </span>
</div>
